package com.ruoyi.shenji.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author youbug
 * @since 2023-02-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="Dictionary对象", description="字典表")
public class Dictionary extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "字典类型主键")
    private Long typeId;

    @ApiModelProperty(value = "字典类型编码")
    private String typeCode;

    @ApiModelProperty(value = "字典类型名")
    private String typeName;

    @ApiModelProperty(value = "字典值")
    private String value;

    @ApiModelProperty(value = "字典编码")
    private String code;

    @ApiModelProperty(value = "序号")
    private Integer orderId;

    @ApiModelProperty(value = "备注")
    private String remark;


}
